<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>

<xsl:template match="lastLoggedAllSex">
<table bgcolor="#d6c7a6" class="nbox" style="font-size:10px;" border="0" cellspacing="1" cellpadding="3" width="100%">
<xsl:choose>
<xsl:when test='@kind="1"'><tr height="25px" bgcolor="#f4ebce"><td class="body"><b><a style="color:#444444;" href="/stats/publicSummary.aspx">Ultimi 10 login</a></b></td></tr></xsl:when>
<xsl:when test='@kind="2"'><tr height="25px" bgcolor="#f4ebce"><td class="body"><b><a style="color:#444444;" href="/stats/publicSummary.aspx">Ultimi 20 login</a></b></td></tr></xsl:when>
<xsl:when test='@kind="3"'><tr height="25px" bgcolor="#f4ebce"><td class="body"><b><a style="color:#444444;" href="/stats/publicSummary.aspx">Ultimi 30 login</a></b></td></tr></xsl:when>
</xsl:choose>
<xsl:for-each select="row">
<tr><td bgcolor="#f4efdf">
<nobr>
<xsl:choose>
<xsl:when test='@answerid="1"'><img src="/imgs/mela.gif"/></xsl:when>
<xsl:when test='@answerid="40"'><img src="/imgs/ananas.gif"/></xsl:when>
<xsl:when test='@certified=1 and (@answerid="24" or @answerid="26")'><img src="/imgs/symbol_mc.gif"/></xsl:when>
<xsl:when test='@answerid="24" or @answerid="26"'><img src="/imgs/symbol_m.gif"/></xsl:when>
<xsl:when test='@answerid="25" or @answerid="27"'><img src="/imgs/symbol_f.gif"/></xsl:when>
</xsl:choose>
&#160;
<xsl:choose>
<xsl:when test='@certified=1'><a class="nick" href="/profileShow.aspx?userGuid={@userid}"><xsl:value-of select="@nick"/></a></xsl:when>
<xsl:otherwise><a class="nick" href="/profileShow.aspx?userGuid={@userid}"><xsl:value-of select="@nick"/></a></xsl:otherwise>
</xsl:choose>
</nobr>
</td></tr>
</xsl:for-each>
</table>
</xsl:template>

</xsl:stylesheet>